package com.jzo2o.foundations.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jzo2o.foundations.model.domain.Serve;
import com.jzo2o.foundations.model.domain.ServeItem;
import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeAggregationTypeSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeCategoryResDTO;

import java.util.List;

public interface IHomeService {
    List<ServeCategoryResDTO> firstPageServeList(Long regionId);

    List<ServeAggregationTypeSimpleResDTO> queryServeTypeListByRegionIdCache(Long regionId);

    List<ServeAggregationSimpleResDTO> firstHotServeListByRegionIdCache(Long regionId);

    Serve queryServeByIdCache(Long id);

    ServeItem queryServeItemByIdCache(Long id);

    List<ServeCategoryResDTO> queryServeIconCategoryByRegionIdCache(Long regionId);
}
